<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>常量管理</title>
<script type="text/javascript" src="<c:url value='/admin/js/util/jquery-1.8.1.min.js'/>"></script>
<link rel="StyleSheet" href="<c:url value='/admin/css/general.css'/>" type="text/css" />
<script type="text/javascript">
function onclickClass(obj) {
	$("li[id^='subLi']").removeClass();
	var myClass = $(obj).attr("class");
   	if (myClass)
   		$(obj).attr("class", "hoverSelected");
   	else
   		$(obj).addClass("hoverSelected");
}
</script>
</head>
<body>
<div id="container">
    <div class="codeManage">
    	<ul>
    		<c:forEach items="${ constantMap }" var="item">
    			<li id="subLi${ item.key }" onclick="onclickClass(this)"><a href="<c:url value='/admin/frameConstantAction!modify.do?constantKey=${ item.key }'/>" target="Frame">${ item.value }</a></li>
    		</c:forEach>
        </ul>
    </div>
	<div class="main"><iframe name="Frame" width="100%" height="100%" border="0" frameborder="0" src=""> 此为内容部分</iframe></div>
</div>
</body>
</html>
